package com.iqiao.platform.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.iqiao.common.base.BaseModel;

/**
 * 管理员
 */
public class Admin extends BaseModel {

    private Long userId; // 用户id
    private Long roleId; // 角色id
    private String remark; // 备注

    private String nikename; // 昵称
    private String username; // 用户名
    @JsonIgnore()
    private String password; // 密码

    private String roleName; // 角色名称

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getNikename() {
        return nikename;
    }

    public void setNikename(String nikename) {
        this.nikename = nikename;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
